import java.util.Set;

public class WebComposition {

	
	public static void main(String[] args) {
		
		ParsingPlanningGraph p = new ParsingPlanningGraph();
		
		
		try {
			Set<Service> allServices = p.parseServices();
			PlanningGraph pg = p.parsingChallenge();
			pg.GraphPlan(allServices);
		}
		catch(Exception e) {
			System.out.println(e.getMessage());
		}


	}
	
}
	